package com.project.dao.bean;

import java.io.Serializable;

/**
 * 
 * <pre>
 * 菜单信息
 * </pre>
 * 
 * @author lantian
 * @version $Id: Menu.java, v 0.1 2012-9-3 下午05:27:15 lantian Exp $
 */
public class Menu implements Serializable {
	/**
	 * <pre>
	 * 
	 * </pre>
	 */
	private static final long serialVersionUID = 1L;
	// 菜单ID
	private String menuId;
	// 菜单名称
	private String menuName;
	// 排序1-99
	private Integer menuSeq;
	//点选menu的动作，保留
	private String menuAction;
	private String parentId;
	private String parentName;
	// 菜单编号
	private String menuCode;
	// 菜单顺序
	private Integer menuSort;
	// 是否显示
	private String isShow;
	// 显示顺序
	private String showSort;

	public Integer getMenuSort() {
		return menuSort;
	}

	public void setMenuSort(Integer menuSort) {
		this.menuSort = menuSort;
	}

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public Integer getMenuSeq() {
		return menuSeq;
	}

	public void setMenuSeq(Integer menuSeq) {
		this.menuSeq = menuSeq;
	}

	public String getMenuAction() {
		return menuAction;
	}

	public void setMenuAction(String menuAction) {
		this.menuAction = menuAction;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public String getMenuSeqDsp() {
		String rtn = "";
		if (this.getMenuSeq() == 1) {
			rtn = "第一级菜单";
		} else if (this.getMenuSeq() == 2) {
			rtn = "第二级菜单";
		} else if (this.getMenuSeq() == 3) {
			rtn = "第三级菜单";
		} else if (this.getMenuSeq() == 4) {
			rtn = "第四级菜单";
		} else if (this.getMenuSeq() == 5) {
			rtn = "第五级菜单";
		}
		return rtn;
	}

	public String getIsShow() {
		return isShow;
	}

	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}

	public String getShowSort() {
		return showSort;
	}

	public void setShowSort(String showSort) {
		this.showSort = showSort;
	}

}
